
package usyd.comp5348;

import javax.ejb.Local;


/**
 * This is the business interface for DeliveryFacade enterprise bean.
 */
@Local
public interface DeliveryFacadeLocal {
    int createDelivery(Delivery delivery);

    void modifyDelivery(Delivery delivery) throws DeliveryException;

    void deleteDelivery(int id);

    void submitDelivery(int id) throws DeliveryException ;

    Delivery getDeliveryById(int id);
    void submitDelivery(Delivery d, Order order) throws DeliveryException;
    
}
